package ysq.xyg.host.service;


import ysq.xyg.base.model.dto.ReturnEntity;
import ysq.xyg.base.service.BaseService;
import ysq.xyg.host.model.po.HostDetail;
import ysq.xyg.sys.model.po.SysUser;
import ysq.xyg.host.model.vo.HostDetailVo;

import java.util.List;

/**
 * 房产模块-佣金记录service接口
 *
 * @author shengQiang yu
 * @date 2019-7-5 22:09:25
 */
public interface HostDetailService extends BaseService<HostDetail> {
    /**
     * 查询集合
     *
     * @param hostDetailVo 对象
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-7-5 22:08:52
     */
    List<HostDetail> listLeft(HostDetailVo hostDetailVo);
    /**
     * 分页查询
     *
     * @param hostDetailVo 对象
     * @param pageSize 当前页面
     * @param pageNum 页面数量
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-7-5 22:09:25
     */
    ReturnEntity page(HostDetailVo hostDetailVo, int pageSize, int pageNum);
    /**
     * 修改
     *
     * @param hostDetailVo 对象
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-7-5 22:09:25
     */
    ReturnEntity addOrUpdate(HostDetailVo hostDetailVo, SysUser currentUser);
    /**
     * 删除
     *
     * @param id 主键id删除
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-7-5 22:09:25
     */
    ReturnEntity delete(String id, SysUser currentUser);
    /**
     * 获取集合
     *
     * @param hostDetailVo 对象
     * @return List<HostDetail> HostDetail集合
     * @author shengQiang yu
     * @date 2019-7-5 22:09:25
     */
    List<HostDetail> acceptList(HostDetailVo hostDetailVo);
}
